.wrap_detail {
  background-color: #f2f3f5;
  padding-bottom: 20px;
}
.wrap_goods_detail{
  padding-bottom: 58px;

  &.phone_x{
    padding-bottom: 68px;
  }
}
.picTip{
  position:absolute;
  top: 140px;
  right: 20px;
  background-color:rgba(10,10,10, 0.5);
  border-radius: 40px;
  width: 41px;
  height: 25px;
  color: white;
  text-align: center;
  vertical-align: middle;
}
.w1{
  font-size: 16px;
  line-height: 25px;
}
.w2{
  font-size: 12px;
  line-height: 25px;
}
.mod_head_pic {
  position: relative;
  width: 100%;
  height: 48vw;
}
.slide-image{
  width: 100%;
  height: 48vw;
}
.mod_head_pic .head_pic {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #dcdee0;
}

.mod_headline {
  position: relative;
  margin-bottom: 5px;
  padding: 15px 15px 10px;
  background-color: #fff;

  .price{
    margin-top: 0px;
    color: #FFA530;
    font-size: 21px;

    .text{
      font-size: 13px;
    }
  }
  .origin_price{
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
    color: #6E747A;
    text-decoration: line-through;
  }

  .btn_checkin{
    position: absolute;
    right: 15px;
    top: 16px;
    color: #5093EB;
    font-size: 16px;
    .iconfont{
      margin-right: 5px;
      font-size: 23px;
      vertical-align: -4px;
    }
  }
}
.mod_headline .title {
  font-size: 18px;
  font-weight: bold;
  color: #292f41;
}
.mod_headline .desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6e747a;
}


.mod_box .mod_hd .mod_action .price {
  margin-right: 6px;
  color: #FFA433;
  font-size: 17px;
}
.wx-switch-input{width:42px !important;height:20px !important;}
.wx-switch-input::before{width:41px !important;height: 20px !important;}
.wx-switch-input::after{width: 18px !important;height: 18px !important;}//中间小圆球
.mod_box .mod_hd .mod_action {
  margin-top: 4px;
}
.mod_box .mod_hd .mod_action .onplaying {
  float: right;
  display: block;
  margin-right: 6px;
  //margin-top: 7.5px;
  //margin-bottom: 9px;
  color: #999EA3;
  font-size: 14px;
}
.mod_explain {
  margin: 0;
}
.explain_item {
  margin-bottom: 15px;
}
.explain_item .title {
  display: block;
  margin-bottom: 9px;
  font-size: 16px;
}
.explain_item .voice_block {
  position: relative;
  display: block;
  height: 45px;
  width: 100%;
  border-radius: 45px;
  background-color: #f2f4f5;
  color: #c4c8cc;
}
.explain_item .icon-zsplay,
.explain_item .icon-zspause {
  position: absolute;
  left: 15px;
  top: 13px;
  font-size: 19px;

  &:none{
    display: none;
  }
}
.explain_item .icon-zssound,
.explain_item .icon_wave {
  position: absolute;
  right: 15px;
  top: 11px;
  font-size: 19px;
}
.explain_item .icon_wave{
  width: 19px;
  height: 19px;
  display: none;
}
.explain_item.active .icon_wave_png{
  display: block;
}
.explain_item.playing .icon-zssound{
  display: none;
}
.explain_item.playing .icon_wave_gif{
  display: block;
}
.explain_item .voice_progress {
  position: absolute;
  top: 21px;
  height: 2px;
  left: 44px;
  right: 81px;
  background-color: #c4c8cc;
  border-radius: 2px;
}
.explain_item .progress_current {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #50b668;
  border-radius: 2px;

  &[style=" width:0%;"],
  &[style=" width:null%;"]{
    .progress_btn{
      display: none;
    }
  }
  .progress_btn{
    position: absolute;
    right: -5px;
    top: -5px;
    height: 11px;
    width: 11px;
    border-radius: 100%;
    background-color: #50b668;
  }
}
.explain_item .voice_text {
  position: absolute;
  top: 13px;
  right: 40px;
  font-size: 12px;
  color: inherit;
}
.explain_item.active {
}
.explain_item.active .voice_block {
  background-color: #f5faf6;
  color: #50b668;
}
.explain_item.active .voice_progress {
  background-color: #d6ecdb;
}

.mod_intro{

  .btn_fold{
    display: none;
  }

  .intro_content {
    position: relative;
    line-height: 24px;
    font-size: 16px;
    color: #6e747a;
    max-height: 120px;
    overflow: hidden;
    margin-bottom: 10px;


    img,
    image,
    rich-text img{
      display: block;
      width: 100%;
      height: auto;
      text-indent: 0 !important;
      margin: 15px 0 !important;
    }
  }

  .btm_mask {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 1)
    );
    display: none;
  }
}
.mod_intro.fold{
  .intro_content{
    max-height: 96px;
    margin-bottom: 0;
  }

  .btn_fold{
    display: block;
  }

  .btm_mask{
    display: block;
  }
}
.mod_intro.open .intro_content {
  height: auto;
  max-height: none;
}
.mod_intro.open .btm_mask {
  display: none;
}
.btn_fold {
  display: block;
  width: 100%;
  margin: 10px 0;
  text-align: center;
  color: #6e747a;
  font-size: 14px;
}
.btn_fold .iconfont {
  display: inline;
  color: #c4c8cc;
  font-size: 14px;
}
.mod_goods{
  .goods_item{
    position: relative;
    margin: 15px 0;
    padding-bottom: 18px;
    padding-right: 120px;
    border-bottom: 1rpx solid #DEDFE0;

    &:first-child{
      margin-top: 0;
    }

    &:last-child{
      border-bottom: none;
      margin-bottom: 0;
    }
  }

  .title{
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #252729;
    line-height: 24px;
  }

  .desc{
    min-width: 20px;
    font-size: 13px;
    color: #6E747A;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .item_action{
    position: absolute;
    right: 0;
    bottom: 13px;

    display: flex;
    flex-direction: row;
    align-items: center;

    line-height: 30px;

    .price{
      margin-right: 6px;
      color: #FFA433;
      font-size: 17px;
    }
    .original_price{
      margin-right: 10px;
      font-size: 13px;
      color: #6E747A;
      text-decoration: line-through;
    }
  }
}

// 景点
.mod_box_related{
  margin: 0;
  background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(242,244,245,1) 180px);

  .mod_bd{
    margin: 0;
    padding-bottom: 15px;
  }
}
.mod_grid_pic{
  // padding: 0 10px;
  margin: 0 10px;

  .grid_item{
    display: inline-block;
    width: calc(50% - 10px);
    margin: 0 5px 10px;
    background-color: #fff;
    border-radius: 6px;
    vertical-align: top;


    .figure{
      position: relative;
      display: block;
      width: 100%;
      padding-bottom: 100%;
    }
    .pic{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 6px 6px 0 0;
    }
    .title{
      line-height: 20px;
      height: 20px;
      margin: 12px 9px 0;
      font-size: 14px;
      color: #252729;
      overflow: hidden;

      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .desc{
      margin: 5px 9px 8px;
      line-height: 16px;
      height: 16px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 13px;
      color: #6E747A;
    }
    .price{
      font-size: 17px;
      color: #FFA530;
    }
  }
}

// 商品信息
.mod_info{
  .title{
    position: relative;
    display: block;
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 24px;
    color: #6E747A;
    padding-left: 10px;

    &:before{
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 5px;
      height: 5px;
      border-radius: 100%;
      background-color: #5093EB;

    }
  }
  .content{
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 24px;
    color: #6E747A;

    .content_line{
      display: block;
      margin-bottom: 10px;
    }
  }
}

// 购买浮层
.pop_layer{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(#000, 0.5);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;


  .pop_buy{
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    padding: 22px 20px 20px;
    background-color: #fff;
    border-radius: 7px;

    .pop_title{
      margin-bottom: 22px;
      font-size: 32px;
      text-align: center;

      .dot{
        display: inline-block;
        margin: 0 10px;
        width: 8px;
        height: 8px;
        vertical-align: middle;
      }
    }
    .pop_desc{
      font-size: 17px;
      text-align: center;
    }
    .pop_btns{
      display: block;
      margin-top: 18px;
      text-align: center;
    }
    .btn_cancel,
    .btn_em{
      display: inline-block;
      width: 105px;
      height: 36px;
      line-height: 36px;
      margin: 0 8px;
      border-radius: 18px;
      color: #fff;
      background-color: #FFA433;
      font-size: 14px;
    }
    .btn_cancel{
      color: #252729;
      background-color: #F2F4F5;
    }
  }
}

// 拼团
.mod_pintuan{
  position: relative;
  margin-top: -15px;
  margin-bottom: 5px;
  padding: 10px 15px;
  background-color: #fff;

  .line1{
    position: relative;
    .price{
      display: inline-block;
      color: #FFA530;
      font-size: 21px;
      line-height: 22px;
    }
    .origin_price{
      display: inline-block;
      font-size: 13px;
      color: #6E747A;
      text-decoration: line-through;
    }
    .sub{
      position: absolute;
      right: 0;
      top: 0;
      font-size: 13px;
      color: #6E747A;
    }
  }

  .line2{
    position: relative;

    .count{
      display: inline-block;
      font-size: 13px;
      color: #6E747A;
    }
    .countdown{
      position: absolute;
      right: 0;
      top: 0;
      white-space: nowrap;
      font-size: 13px;
      color: #6E747A;

      .num{
        display: inline-block;
        padding: 0 3px;
        min-width: 19px;
        line-height: 19px;
        background-color: #5093EB;
        color: #fff;
        text-align: center;
        border-radius: 4px;
        font-size: 11px;
      }
    }
  }
}

// 立即购买
.mod_fixed_buy{
  position: fixed;
  z-index: 100;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  padding: 15rpx 15px;
  background-color: #fff;
  box-shadow: 0 -2px 3px 1px rgba(0, 0, 0, .05);

  .phone_x &{
    height: 75px;
  }

  .btn_em{
    display: block;
    line-height: 45px;
    border-radius: 26px;
    font-size: 16px;
    color: #fff;
    background-color: #FFA433;
    text-align: center;
  }
}

.csBtn{
  margin-top: 6px;
}
.none{
  display: none;
}
